<template>
  <view
    class="pos-r"
    :class="{
      'q-empty': !height,
    }"
    :style="{
      height,
    }"
    @click="$emit('click')"
  >
    <view class="pos-center">
      <u-empty :text="text || ' '" width="85" icon="/static/img/dd.png" />
      <slot></slot>
    </view>
  </view>
</template>

<script>
export default {
  props: {
    text: String,
    height: {
      type: String,
      default: "80vh",
    },
  },
};
</script>
